package org.hgg.workflow.core;

import java.util.Set;

/**
 * @author Jarvis
 * @date 2023/12/27 23:29
 */
public interface Dag<T,R> {
    void addDependency(final T evalFirstNode, final T evalLaterNode);

    Node<T, R> getNode(T value);

    Set<Node<T, R>> getRootNodes();
}
